#include <iostream>
using namespace std;

class Ui;

class Rec
{
public:
    friend class Ui;
    Rec(int length, int width, string color){
        this->length = length;
        this->width = width;
        this->color = color;
    }
private:
    int length;
    int width;
    string color;

};
class Ui
{
public:
    void updateRec(Rec &rec, int length, int width, string color) 
    {
        rec.length = length;
        rec.width = width;
        rec.color = color;
    }
};
    



int main()
{










    return 0;
}